package com.example.myfirst.service;


import com.example.myfirst.entity.Orders;
import com.fasterxml.jackson.core.JsonProcessingException;

import java.util.List;

/**
 * 订单表(Orders)表服务接口
 *
 * @author makejava
 * @since 2023-12-16 23:06:25
 */
public interface OrdersService {
    // 生成订单
    Boolean addOrders(Orders orders);

    // 查询订单
    List<Orders> queryOrders(Integer uid) throws JsonProcessingException;
}
